<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">商品名称</label>
            <div class="layui-input-block">
                <input type="text" name="goods_name" class="layui-input" lay-verify="required" placeholder="请输入商品名称" value="">
            </div>
        </div>
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">分类id</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" name="cate_id" class="layui-input"  placeholder="请输入分类id" value="">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">店铺id</label>-->
<!--            <div class="layui-input-block">-->
<!--                <input type="text" name="store_id" class="layui-input"  placeholder="请输入店铺id" value="">-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">选择店铺</label>
            <div class="layui-input-block">
                <select name="store_id" lay-verify="required" data-select="{:url('shop.store/index')}" data-fields="id,title" >
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品简介</label>
            <div class="layui-input-block">
                <input type="text" name="brief" class="layui-input"  placeholder="请输入商品简介" value="">
            </div>
        </div>
      
        <div class="layui-form-item">
            <label class="layui-form-label">商品封面</label>
            <div class="layui-input-block layuimini-upload">
                <input name="goods_cover" class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传商品封面"
                       value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="goods_cover" data-upload-number="one"
                             data-upload-exts="ico|png|jpg|jpeg"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_goods_cover" data-upload-select="goods_cover"
                             data-upload-number="one"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">参考价格</label>
            <div class="layui-input-block">
                <input type="text" name="price" class="layui-input"  placeholder="请输入参考价格" value="">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>